package com.yf.model.ai.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yf.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * AI 面具-AiMask
 *
 * @author: YiFei
 * @since : 2025年7月5日 00:49:35
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "AI 面具")
@TableName("ai_mask")
public class AiMask extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 751647775241L;
    /**
     * 主键
     */
    @Schema(description = "主键")
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 面具名
     */
    @Schema(description = "面具名")
    private String name;

    /**
     * 图标
     */
    @Schema(description = "图标")
    private String icon;

    /**
     * System 消息
     */
    @Schema(description = "System 消息")
    private String prompt;

    /**
     * 面具描述
     */
    @Schema(description = "面具描述")
    private String description;

    /**
     * 逻辑删除标识(0:未删除;1:已删除)
     */
    @Schema(description = "逻辑删除标识(0:未删除;1:已删除)")
    private Integer deleted;

    /**
     * 创建人Id
     */
    @Schema(description = "创建人Id")
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;

    /**
     * 修改人Id
     */
    @Schema(description = "修改人Id")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;

}
